﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCourseManageProject.Model
{
    /// <summary>
    /// 课程
    /// </summary>
    [Serializable]
    public class Courses
    {
        public int CourseId { get; set; }
        public string CourseName { get; set; }
        public string CourseCountent { get; set; }
        public int ClassHour { get; set; }
        public int Credit { get; set; }
        public int CategoryId { get; set; }
        public int TeacherId { get; set; }

       
        //扩展属性  需要显示的时候添加显示
        public string CategoryName { get; set; }
        public string TeacherName { get; set; }

    }
}
